package com.serene.authority.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.serene.authority.admin.entity.vo.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 岗位表
 *
 * @author serene
 * @createTime 2020/8/19
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyJob extends BaseEntity {
    private static final long serialVersionUID = 8925514045582234222L;

    /**
     * 岗位id
     */
    @TableId(value = "job_id", type = IdType.AUTO)
    private Integer jobId;

    /**
     * 岗位名称
     */
    private String jobName;

    /**
     * 状态 1显示  0不显示
     */
    private Integer status;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 用户是否存在此岗位标识 默认不存在
     */
    @TableField(exist = false)
    private boolean flag = false;
}
